import request from "@/utils/request";

//质量处理单列表
export function listQuality(data) {
  return request({
    url: "/quality/list",
    method: "post",
    data: data,
  });
}
//质量处理单新增
export function addQuality(data) {
  return request({
    url: "/quality/add",
    method: "post",
    data: data,
  });
}
//质量处理单详情
export function getByIdQuality(data) {
  return request({
    url: "/quality/getById",
    method: "post",
    data: data,
  });
}
//质量处理单删除
export function deleteByIdQuality(data) {
  return request({
    url: "/quality/deleteById",
    method: "post",
    data: data,
  });
}